
point_and_string.o:     file format elf32-littlearm


Disassembly of section .text:

00000000 <main>:
#include <stdio.h>
#include <string.h>

int main()
{
   0:	e92d4800 	push	{fp, lr}
   4:	e28db004 	add	fp, sp, #4
   8:	e24dd008 	sub	sp, sp, #8
	char *mesg = "Don't be a fool!";
   c:	e59f306c 	ldr	r3, [pc, #108]	; 80 <main+0x80>
  10:	e50b3008 	str	r3, [fp, #-8]
	char *copy;

	copy = mesg;
  14:	e51b3008 	ldr	r3, [fp, #-8]
  18:	e50b300c 	str	r3, [fp, #-12]

	printf("%s\n", copy);
  1c:	e51b300c 	ldr	r3, [fp, #-12]
  20:	e1a00003 	mov	r0, r3
  24:	ebfffffe 	bl	0 <puts>
	printf("mesg = %s : &mesg = %p : value = %p\n", mesg, &mesg, mesg);
  28:	e51b1008 	ldr	r1, [fp, #-8]
  2c:	e51b3008 	ldr	r3, [fp, #-8]
  30:	e24b2008 	sub	r2, fp, #8
  34:	e59f0048 	ldr	r0, [pc, #72]	; 84 <main+0x84>
  38:	ebfffffe 	bl	0 <printf>
	printf("copy = %s : &copy = %p : value = %p\n", copy, &copy, copy);
  3c:	e51b100c 	ldr	r1, [fp, #-12]
  40:	e51b300c 	ldr	r3, [fp, #-12]
  44:	e24b200c 	sub	r2, fp, #12
  48:	e59f0038 	ldr	r0, [pc, #56]	; 88 <main+0x88>
  4c:	ebfffffe 	bl	0 <printf>
	printf("sizeof(mesg) = %d : strlen(mesg) : %ld\n", sizeof(mesg), strlen(mesg));
  50:	e51b3008 	ldr	r3, [fp, #-8]
  54:	e1a00003 	mov	r0, r3
  58:	ebfffffe 	bl	0 <strlen>
  5c:	e1a03000 	mov	r3, r0
  60:	e1a02003 	mov	r2, r3
  64:	e3a01004 	mov	r1, #4
  68:	e59f001c 	ldr	r0, [pc, #28]	; 8c <main+0x8c>
  6c:	ebfffffe 	bl	0 <printf>
	
	

	return 0;
  70:	e3a03000 	mov	r3, #0
}
  74:	e1a00003 	mov	r0, r3
  78:	e24bd004 	sub	sp, fp, #4
  7c:	e8bd8800 	pop	{fp, pc}
  80:	00000000 	.word	0x00000000
  84:	00000014 	.word	0x00000014
  88:	0000003c 	.word	0x0000003c
  8c:	00000064 	.word	0x00000064
